new Vue({
    el: "#app",
    data: {
        ip: "",
        user: {
            id: "",
            userName: "",
            touxiang: ""
        }
    },
    created() {
        this.ip = returnCitySN["cip"];
        axios.post("/search/data"
        ).then(res => {
                console.log(res)
                this.user.id = res.data.id;
                this.user.userName = res.data.userName;
                this.user.touxiang = res.data.touxiang;
                if (res.data.id > 0) {
                    login.$options.methods.show(res)
                }
            }
        ).catch(err => {

        })
    }
})